export const formConfig = [
  {
    id: '#1',
    label: '',
    name: 'userName',
    component: 'Input',
    prefix: 'UserOutlined',
    placeholder: '请输入用户名',
    rules: [
      {
        required: true,
        message: '用户名不能为空!',
      },
    ],
    props: {
      className: 'login-username',
    },
  },
  {
    id: '#2',
    label: '',
    name: 'password',
    component: 'Password',
    prefix: 'KeyOutlined',
    placeholder: '请输入密码',
    props: {
      autoComplete: 'current-password',
      className: 'login-password',
    },
    rules: [
      {
        required: true,
        message: '密码不能为空!',
      },
    ],
  },
]
